package com.example.boot3.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author 邹成明
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Repair {
    @ExcelProperty("维修编号")
    @ColumnWidth(15)
    private Integer repair_id;
    @ExcelProperty("车牌号")
    @ColumnWidth(15)
    private String vehicle_id;
    @ExcelProperty("申请人")
    @ColumnWidth(15)
    private String driver_id;
    @ExcelProperty("维修金额")
    @ColumnWidth(15)
    private Integer repair_amount;
    @ExcelProperty(value = "维修日期")
    @ColumnWidth(15)
    private String repair_date;
    @ExcelProperty("维修原因")
    /** Date导出excel将报错 */
    private String repair_reason;



}
